package com.example.demo.modules.sys.api;

import com.example.demo.core.entity.ProcessResult;
import com.example.demo.modules.sys.service.DictService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * Created by 秦建平 on 2018/7/5.
 */
@RequestMapping("/api/sys")
@RestController
public class DictApi {
    @Autowired
    private DictService dictService;


/*    @RequestMapping("/getDictValueChild")
    public ProcessResult getDictValueChild(@RequestParam Map<String,Object> param){
        return dictService.getDictValueChild(param);
    }

    @RequestMapping("/getDictValue")
    public ProcessResult getDictValue(@RequestParam Integer id){
        return dictService.getDictValue(id);
    }*/


}
